package cn.honglian.basic.controller;


import cn.honglian.basic.vo.ShopVo;
import cn.honglian.org.service.IShopService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/aharts")
public class AhartsController {

    @Autowired
    private IShopService shopService;

    @GetMapping
    public ShopVo aharts(){
       return shopService.aharts();
    }
}
